home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
a_utils
/
perl
/
msds-prl
/
perl419x.zoo
/
eg
/
nohigh.bat
< prev
Wrap
DOS Batch File
|
1992-02-23
|
623b
|
25 lines
@REM=("
@perl -p %0.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
@end ") if 0 ;
# Usage: invoke with -p switch
# Strip highlighting from a formatted manual, for those who
# can't deal with the highlighting.
# Nroff puts in hightlighting as follows:
# Boldface is cBcBc for each bold c
# Underlining is _Bc for each underlined c.
# where B is a backspace. In perl, as in C, a backspace is Ascii \010.
# We simply strip every character preceding a backspace and the backspace.
# Reads from file list (or STDIN) and writes to STDOUT.
# (Or can invoke with -i for edit-in-place.)
#
# By Len Reed.
s/.\010//g;
@REM=(qq!
:end !) if 0 ;